home *** CD-ROM | disk | FTP | other *** search
AMOS Source Code | 1992-10-20 | 992 b | 37 lines |
- ' *****************************************************
- ' * *
- ' * This AMOS-program was made by Svante Danielsson *
- ' * *
- ' * Mail me at: til96sdn@mds.mdh.se *
- ' * *
- ' *****************************************************
-
- ' Shift up-speed:
- SPEED=2
- ' Step:
- STEG=1
- ' The X-size:
- XSIZE=100
- ' The Y-size:
- YSIZE=100
-
- Screen Open 0,320,256,32,Lowres : Flash Off : Curs Off : Hide : Cls 0
- Palette $0,$0,$1,$2,$3,$4,$5,$6,$7,$8,$9,$A,$B,$C,$D,$E,$F,$E,$D,$C,$B,$A,$9,$8,$7,$6,$5,$4,$3,$2,$1,$0
-
- For X=0 To XSIZE Step STEG
- For Y=0 To YSIZE Step STEG
- Plot X,Y,Rnd(30)+1
- Next
- Next
-
- For X=0 To XSIZE Step STEG
- For Y=0 To YSIZE Step STEG
- A=Point(X-STEG,Y)+Point(X,Y-STEG)+Point(X+STEG,Y)+Point(X,Y+STEG)+Point(X,Y)
- Plot X,Y,(A/5)
- Next
- Next
-
- Shift Up SPEED,1,31,1
- Clear Key
- Wait Key
- Edit